package com.itheima.health.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.health.pojo.Setmeal;
import org.apache.ibatis.annotations.Select;

/**
 * @author cfr
 * @date 2022/1/6
 * @TIME:19:49
 */
public interface SetmealMapper extends BaseMapper<Setmeal> {
    @Select("SELECT checkgroup_id from t_setmeal_checkgroup where setmeal_id=#{id}")
    Integer[] list(Integer id);
    @Select("SELECT checkitem_id from t_checkgroup_checkitem where checkgroup_id=#{id}")
    Integer[] list2(Integer id);
}
